/**
 * Copyright 2013 ABSir's Studio
 * 
 * All right reserved
 *
 * Create on 2013-6-21 下午2:45:55
 */
package com.absir.android.view;

import android.view.View;

import com.absir.core.kernel.KernelClass;

/**
 * @author absir
 * 
 */
public abstract class InjectExcutor<T> {

	/** type */
	protected Class<?> type;

	/**
	 * 
	 */
	public InjectExcutor() {
		type = KernelClass.componentClass(getClass().getGenericSuperclass());
	}

	/**
	 * @param object
	 * @param id
	 */
	public abstract void setLayer(T object, int id);

	/**
	 * @param object
	 * @param id
	 * @return
	 */
	public abstract View loadView(T object, int id);

	/**
	 * @param object
	 * @param id
	 * @return
	 */
	public abstract View findViewById(T object, int id);

}
